package com.cskaoyan.service;

import org.springframework.stereotype.Service;

/**
 * @author stone
 * @date 2022/08/29 16:21
 */
@Service
public class UserServiceImpl implements UserService{
    @Override
    public void method() {
        System.out.println("service的方法");
    }

    @Override
    public String method2(String username) {
        String result = "hello " + username;
        System.out.println(result);
        return result;
    }

    @Override
    public void method3() {
        System.out.println("method3");
        int i = 1 / 0;
    }
}
